package com.jier.entities;

import io.swagger.models.auth.In;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 系统模块
 *
 * @author Administrator
 * @date 2017/5/31
 */
@Table(name = "system_module")
public class SystemModule extends BaseEntity implements Serializable {
    /**
     * 模块名称
     */
    private String name;
    /**
     * 模块编号
     */
    private String number;

    /**
     * 父级模块，0为最上级
     */
    private Integer parent;

    /**
     * 图标
     */
    private String icon;

    /**
     * 跳转链接，#为不跳转
     */
    private String href;

    /**
     * 次序，同级模块排序
     */
    @Column(name = "sort_order")
    private Integer sortOrder;

    /**
     * 启用状态
     */
    private Boolean status;

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getParent() {
        return parent;
    }

    public void setParent(Integer parent) {
        this.parent = parent;
    }

    public Integer getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(Integer sortOrder) {
        this.sortOrder = sortOrder;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }
}
